import { BaseWindow } from "../../../component/window/BaseWindow";
import { Language } from "../../../../extend/language/Language";
import { ObjCreate } from "../common/ObjCreate";
import { GTextFormat } from "../../../common/GTextFormat";
import { QuestionDataTool } from "./QuestionDataTool";
//class QuestionRuleWindow
    
    export  class QuestionRuleWindow extends BaseWindow
    {
        constructor()
        {
            super();
            setSize(400, 250);
            titleHeight = 30;
            title = Language.getString(35617);
            return;
        }

        protected /* override */ createChildren(): void
        {
            super.createChildren();
            var loc1=ObjCreate.createBg(17, 42, 365, 195, this);
            var loc2=ObjCreate.createTextField("", 25, 50, 355, 195, this);
            loc2.defaultTextFormat = new GTextFormat("", 14, 11661311, null, null, null, null, null, null, null, null, null, 3);
            loc2.multiline = true;
            loc2.wordWrap = true;
            var loc3=Language.getStringByParam(35618, QuestionDataTool.timeStr);
            loc2.htmlText = loc3;
            return;
        }
    }
